package com.yuanchu.store.dto;

import com.yuanchu.common.validator.ValidationGroups;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @version: 1.0
 * @Author: adan
 * @description:
 * @date: 2024-02-05 12:49
 */
@Data
public class EditAddressDto {
    @NotBlank(message = "addressId不能为空", groups = ValidationGroups.Update.class)
    @NotBlank(message = "addressId不能为空", groups = ValidationGroups.Delete.class)
    private String addressId;
    private AddressDto form;
}
